<%@ Page EnableEventValidation="false" EnableViewState="false" Language="vb" AutoEventWireup="false" CodeFile="data.aspx.vb" Inherits="pages_Datas_Data"
    MasterPageFile="~/pages/default.master"
    Title="Add or Change a Data."
    ValidateRequest="False"
%>
<asp:Content ID="c" ContentPlaceHolderID="body" runat="server">
    <style>
    table.form input.textbox { width: 100px; }
    </style>
    
    <asp:ValidationSummary ID="vs" runat="server" ShowSummary="true" EnableClientScript="true" DisplayMode="BulletList" />

    <uc:FormBegin ID="fb" runat="server" />
        <uc:Textbox ID=txtSeries runat=server Label="Series" Mode=Locked />
        <uc:Textbox  ID="txtDataDate" Runat="server" Required="true" Label="Date" TextMode="Date" />
        <uc:Textbox  ID="txtDataOpen" runat="server" Required="true" Label="Open" TextMode="Number" />
        <uc:Textbox  ID="txtDataHigh" runat="server" Required="true" Label="High" TextMode="Number" />
        <uc:Textbox  ID="txtDataLow" runat="server" Required="true" Label="Low" TextMode="Number" />
        <uc:Textbox  ID="txtDataClose" runat="server" Required="true" Label="Close" TextMode="Number" />
        <uc:FormButtonsBegin ID="fbb" runat="server" />
            <asp:button id="btnSave"    runat="server" text="Update" causesvalidation="True"  />
            <asp:button id="btnDelete"  runat="server" text="Delete" causesvalidation="False" OnClientClick="return confirm('Delete this Data?')" />
            <asp:button id="btnCancel"  runat="server" text="Cancel" causesvalidation="False" />
        <uc:FormButtonsEnd   ID="fbe" runat="server" />
    <uc:FormEnd ID="fe" runat="server" />
</asp:Content>
